package project.factory;

import project.service.ProjectService;
public class ProjectFactory {
	private static ProjectFactory instance;
	private ProjectService Project;
	
	private ProjectFactory(){
		Project=new ProjectService();
	}

	public static synchronized ProjectFactory getInstance() {

		if (instance == null) {
			instance = new ProjectFactory();
		}
		return instance;
	}

	public ProjectService creatProjectService() {
		return Project;
	}
}

